package com.css.openapi.BO;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class GetFaceVerifyReq {

    @NotBlank(message = "流水号不能为空")
    @ApiModelProperty(value = "第三方生成流水号；保证平台内唯一")
    @JsonProperty("outRequestId")
    private String outRequestId;


    @NotBlank(message = "证件号码不能为空")
    @ApiModelProperty(value = "证件号码")
    @JsonProperty("certNo")
    private String certNo;


    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    @JsonProperty("name")
    private String name;

    @ApiModelProperty(value = "人脸验证完成后跳转商户的url")
    @JsonProperty("returnUrl")
    private String returnUrl;

    @ApiModelProperty(value = "会在回调和通知时原样返回")
    @JsonProperty("reqSn")
    private String reqSn;

    @NotBlank(message = "回调地址不能为空")
    @ApiModelProperty(value = "人脸验证结果回调地址")
    @JsonProperty("rlynjghddz")
    private String rlynjghddz;
}
